solve(해 계산)
solve(5, 10)
A<-matrix(c(2, 3, 1, 1), ncol=2, byrow=T)
b<-matrix(c(8, 3), ncol=1)
solve(A, b)
A<-matrix(c(1, -1, 1, 2, 4, 3, -1, 2, -3), ncol=3)
b<-c(1, 5, 3)
solve(A, b)
polyroot(다항식 계산)
polyroot(c(-2, 3, -2, 1))
[1] 1.0+0.000000i 0.5+1.322876i 0.5-1.322876i